﻿Imports System
Imports System.Collections.Generic
Imports System.IdentityModel.Selectors
Imports System.IdentityModel.Tokens
Imports System.Linq
Imports System.Text

'
' * Want more WCF tips?
' * Visit http://webservices20.blogspot.com/
' 

Public Class UserNameValidator
  Inherits UserNamePasswordValidator
  Public Overloads Overrides Sub Validate(ByVal userName As String, ByVal password As String)
    ' Throw a SecurityTokenException if the wrong username/password are passed in
    '    throw new SecurityTokenException( "Unknown Username or Password" );
  End Sub
End Class
